package com.class04.lambda.function;

import org.junit.jupiter.api.Test;

/**
 * @ClassDescription:
 * @JdkVersion: 17
 * @Author: yxy
 * @Created: 2023/11/28 16:31
 */
public class MyFunctionalInterfaceTest {
    @Test
    public void test1(){
        MyFunctionalInterface f1 = () ->
                System.out.println("hello world!");
        f1.method();
    }


}
